package com.qf.dao.caiwu_dao;

import com.qf.bean.PrefundRule;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface PrefundRuleMapper {
    int deleteByPrimaryKey(Integer rid);

    int insert(PrefundRule record);

    int insertSelective(PrefundRule record);

    PrefundRule selectByPrimaryKey(Integer rid);

    int updateByPrimaryKeySelective(PrefundRule record);

    int updateByPrimaryKey(PrefundRule record);

    //查询预存款规则信息列表
    List<PrefundRule> findDeptList(Map map);

    //查询所有预存款规则信息
    @Select("select * from prefund_rule")
    List<PrefundRule> findAll();

}